package com.jeomo.masterdata.provider.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * <h3>jeomo</h3>
 * <p>品牌创建</p>
 *
 * @author : 崔贺
 * @date : 2020-08-28 14:49
 **/
public class CreateBrandRequest implements Serializable {

    private static final long serialVersionUID = 7838059389593082716L;
    /**
     * 品牌码
     */
    private String code;
    /**
     * 品牌名称
     */
    @NotBlank
    @Size(max = 6, message = "the name maxlength is 6 ")
    private String name;
    /**
     * 组织码
     */
    private String orgCode;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
